<!--
 * @Author: 张帆 zhangfan@jxtech.net
 * @Date: 2021-12-06 20:13:56
 * @LastEditors: 张帆 zhangfan@jxtech.net
 * @LastEditTime: 2024-09-13 11:52:18
 * @FilePath: /vue3_test/src/App.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <Demo v-if="isShowDemo" />
</template>

<script>
import { ref } from "vue";
import Demo from "./components/demo.vue"; // ref处理基本类型数据  reactive处理引用类型数据
export default {
  name: "App",
  components: {
    Demo,
  },
  setup() {
    let isShowDemo = ref(true);
    return {
      isShowDemo
    }
  },
};
</script>
